Adwaita: progressbar style fix
authorLapo Calamandrei <calamandrei@gmail.com>
Wed, 23 Nov 2016 15:00:57 +0000 (16:00 +0100)
committerLapo Calamandrei <calamandrei@gmail.com>
Wed, 23 Nov 2016 15:14:58 +0000 (16:14 +0100)
Reset styling on the progress node when trough node has the `empty'
styleclass.

See https://bugzilla.gnome.org/show_bug.cgi?id=774695

gtk/theme/Adwaita/_common.scss
gtk/theme/Adwaita/gtk-contained-dark.css
gtk/theme/Adwaita/gtk-contained.css

index 430ae8dd5c9dd27ee9b466210ae045b2be89d2e3..1b2179a7dc4586a8345ea99ff0b27b0d2e4afb01 100644 (file)
@@ -3248,6 +3248,8 @@ progressbar {
       border-radius: 0;
     }
   }
+
+  trough.empty progress { all: unset; } // makes the progress indicator disappear, when the fraction is 0
 }
 
 
index 7f765749eff901fb9c222ce07ad53d6e0a54f7f5..45fbb828d42bbcc17b563647d80eab49cbd396d3 100644 (file)
@@ -3701,6 +3701,8 @@ progressbar {
     progressbar.osd progress {
       border-style: none;
       border-radius: 0; }
+  progressbar trough.empty progress {
+    all: unset; }
 
 /*************
  * Level Bar *
index 78f4caf0b3e08c55df70eb591d5d6919da8d9443..7260c66317dd57b9a3ae5c936d96b6f98823ce44 100644 (file)
@@ -3732,6 +3732,8 @@ progressbar {
     progressbar.osd progress {
       border-style: none;
       border-radius: 0; }
+  progressbar trough.empty progress {
+    all: unset; }
 
 /*************
  * Level Bar *